import { Component, Emit, Prop } from 'vue-facing-decorator'
import Render from '@/render/Render'
import toNative from '@/utils/toNative'

@Component
export class SelectSaler extends Render {
    @Prop({ default: '' }) show!: boolean

    @Emit('update:show') handleChange(value: number) {
        return value
    }
    saleId = null

    onChange(value: number) {
        this.handleChange(value)
    }

    render() {
        return <div>111</div>
    }
}

export default toNative<
    { show: boolean },
    {
        salerChange: (value: number) => void
            }
            >(SelectSaler)
